// {+}

package mb.model;

import java.awt.Color;
import javax.swing.JPanel;

public class Box extends JPanel {

  public Box() {
    super();
    this.setSize(100, 50);
    this.setColor(Color.YELLOW);
    this.setLocation(40, 20);
  }

  public Color getColor() {
    return this.getBackground();
  }

  public void setColor(Color aColor) {
    this.setBackground(aColor);
  }
  
}
